import React, { Component } from 'react'
import { render } from 'react-dom'
import { Router, Route, hashHistory } from 'react-router'

import MainView from './main.jsx'
import Detail from './detail.jsx'

render(
  <Router history={hashHistory}>
    <Route path="/" component={MainView} />
    <Route path="/detail" component={Detail} />
  </Router>
, document.getElementById('container'))
